home *** CD-ROM | disk | FTP | other *** search
- EDUMP 1.0
- 11/30/85
-
- EDUMP displays a HEX dump of a file. In addition, an EYEreadable dump
- is also displayed. An option of the program is display the file in
- either ASCII or EBCDIC.
-
- To execute EDUMP enter EDUMP filename /switches There are 4 switches;
- /C/P/E/A. Either /C or /P may be enter to dump the file on the console
- or printer.
-
- These 2 options are mutually exclusive. The /A option is
- the default and the file will be dumped in ASCII. If the /E option is
- chosen, the file will be dumped as though it were EBCDIC.
-
- An include file has been used to define the translate table. There are 2
- arrays in the include file. They are named ETOA and ATOE for EBCDIC to
- ASCII and ASCII to EBCDIC respectively. In ETOA a corresponding ASCII
- character is chosen for each EBCDIC character where ever possible.
-
- Since their are 256 valid EBCDIC codes, not every character has an
- approriate ASCII equivalent. The same is true for ATOE. In addition,
- ATOE has 256 entries even through only 128 ASCII codes are defined. The
- first 128 entries are duplicated. This essentially treats the last 128
- characters like the first 128, only the high order bit is set with
- parity.
-
- The table was built using the IBM System/370 Reference Summary. IBM form
- number GX20-1850. You are welcome to build your own table. All that is
- needed it to alter XLATE.INC and recompile the program.
-
- The program is written for the IBM PC in Turbo Pascal. Version 3 of the
- compiler is needed recompile.
-
- Daryl Coulthart
- 532 Lake Bayview Court
- Shoreview MN 55126
- (612) 483-1489
-